Welcome![Sign In][Sign Up]
Location:
Search - lexical analyzer for c

Search list

[Static controlnamab

Description: ergydfhgdfhggfhg 一.实验目的 二.实验内容 三、程序简要说明 原 文 : C语言词法分析器的设计与实现 一.实验目的: 1.强化对系统软件综合工程实现能力、规划能力的训练; 2.加强对词法分析原理、方法和基本实现技术的理解; 二.实验内容: 用C语言(或 C++ )作为宿主语言完成: C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。 三、程序简要说明: 1、属性字说明: 共9种 KEYWORD: 关键字 \"auto\",\"break\",\"case\",\"char\",\"const\",\"continue\", \"default\",\"do\",\"double\",\"else\",\"enum\",\"extern\", \"float\",\"for\",\"goto\",\"if\",\"int\",\"long\",\"register\", \"return\",\"short\",\"signed\",\"sizeof\",\"static\",\"struct\", \"switch\",\"typedef\",\"union\",\"unsigned\",\"void\", \"volatile\",\"while\",\"include\",\"define\" 共34个 详见IsKeyWord()函数 NUMBER: 数字 包括十进制整数,八进制整数,二进制整数,十六进制整数 还可返回几种错误 详见IsNumber()函数 CONSTANT: 常量 宏定义标识符,不识别C++关键字const,简单处理一层宏定义。 详见IsDefined()函数 ...... 关键词 : 计算机 编译原理 c语言 词法分析器-ergydfhg gfhg one. Experiment 2. Experiment 3, procedures brief description of the original : C language lexical analyzer Design and Implementation of a. The experiment : 1. To strengthen the integrated system software engineering, planning capacity of training; 2. Lexical analysis on principle, and basic understanding of the technology; 2. Experiment : C (or C) as the host language completed : C language (ANSI C or Turbo C 2.0) lexical analyzer design and implementation. 3, brief description of procedures : 1, the word attribute : a total of nine species KEYWORD : keyword "auto" "break" and "case", "char", "const", "continue", "default", "do", "double", "else", "enum" "ext
Platform: | Size: 1214 | Author: 天空 | Hits:

[ComboBoxfchh

Description: 一.实验目的 二.实验内容 三、程序简要说明 原 文 : C语言词法分析器的设计与实现 一.实验目的: 1.强化对系统软件综合工程实现能力、规划能力的训练; 2.加强对词法分析原理、方法和基本实现技术的理解; 二.实验内容: 用C语言(或 C++ )作为宿主语言完成: C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。 三、程序简要说明: 1、属性字说明: 共9种 KEYWORD: 关键字 \"auto\",\"break\",\"case\",\"char\",\"const\",\"continue\", \"default\",\"do\",\"double\",\"else\",\"enum\",\"extern\", \"float\",\"for\",\"goto\",\"if\",\"int\",\"long\",\"register\", \"return\",\"short\",\"signed\",\"sizeof\",\"static\",\"struct\", \"switch\",\"typedef\",\"union\",\"unsigned\",\"void\", \"volatile\",\"while\",\"include\",\"define\" 共34个 详见IsKeyWord()函数 NUMBER: 数字 包括十进制整数,八进制整数,二进制整数,十六进制整数 还可返回几种错误 详见IsNumber()函数 CONSTANT: 常量 宏定义标识符,不识别C++关键字const,简单处理一层宏定义。 详见IsDefined()函数 ...... 关键词 : 计算机 编译原理 c语言 词法分析器-one. Experiment 2. Experiment 3, procedures brief description of the original : C language lexical analyzer Design and Implementation of a. The experiment : 1. To strengthen the integrated system software engineering, planning capacity of training; 2. Lexical analysis on principle, and basic understanding of the technology; 2. Experiment : C (or C) as the host language completed : C language (ANSI C or Turbo C 2.0) lexical analyzer design and implementation. 3, brief description of procedures : 1, the word attribute : a total of nine species KEYWORD : keyword "auto" "break" and "case", "char", "const", "continue", "default", "do", "double", "else", "enum" "extern", "
Platform: | Size: 1214 | Author: 天空 | Hits:

[ELanguagecifafeixi

Description: C语言词法分析器。可以给出一段简单的程序进行分析。-C language lexical analyzer. It is a simple procedure for analysis.
Platform: | Size: 6575 | Author: 施钥 | Hits:

[Other resourceSoft20060210155900603

Description: c语言程序的词法分析器,非常好用的,适合研究学习的-the lexical analyzer, very useful, and for the study of learning
Platform: | Size: 28732 | Author: qjs | Hits:

[ELanguageLexicalAnalyzer3

Description: 用c#编写的c语言词法分析器,预处理注释,并使用数据库查询关键字. 注意数据库需要重新连接,使用microsoft jet 4.0,数据库文件为keytable.mdb-prepared with the c language lexical analyzer, pretreatment Notes and the use of database queries. databases need to re-connect microsoft used jet 4.0, database files for keytable.mdb
Platform: | Size: 66724 | Author: 郭靖 | Hits:

[IME Developwordsanalyse

Description: 一个用C语言编写的词法分析器,该程序只要实现对输入代码的词法分析并输出文件以保存结果。-a C language prepared by the lexical analyzer. as long as the procedures for the importation of code to achieve the lexical analysis and output files to preserve the results.
Platform: | Size: 2357 | Author: lgwang | Hits:

[ELanguageC_minuscomplier1.0

Description: C_minus词法分析器 1.0版(词法分析器源程序,用c++语言编写的,for c-minus,,Visual C++)-C_minus lexical analyzer Version 1.0 (lexical analyzer source with the c language, for c-minus, and Visual C)
Platform: | Size: 2130 | Author: 张庚声 | Hits:

[ELanguageIORO

Description: 可以直接运行的C语言开发的,编译原理的词法分析器!多的不说!能用是关键!为本人课程设计时做!-direct operation of the C-language development, Compiler Principle lexical analyzer! not many! can be used is the key! I courses for the design!
Platform: | Size: 8579 | Author: gavinioro | Hits:

[ELanguageC_mycompiler

Description: 对c源程序的词法分析器。 主要由文本输入框(RichTextbox)、菜单、各个控制栏和对话控件组成。其中RichTextbox是文字的载体以及显示工具,菜单和工具栏用以使用程序提供的文件操作、编辑等的功能。结果另存为文件。-c source of the lexical analyzer. Mainly by the text input box (RichTextBox), the menu's control column and dialog components. RichTextBox language which is the carrier and demonstrate tools, menu and toolbars procedures for the use of the documentation provided by the operators, editors and other functions. Save the results of the document.
Platform: | Size: 38153 | Author: djzhan | Hits:

[ELanguageLex_Yacc_Parser

Description: 语法分析器lex和词法分析器yacc的C++语言实现 1.Lex (1)Lex输入文件的解析 (2)正规表达式的解析 (3)一个正规表达式到NFA的转换算法实现 (4)多个NFA的合并 (5)NFA的确定化和最小化算法实现 (6)返回状态与返回内容的对应 2.Yacc (1)Yacc输入文件的解析 (2)上下文无关文法到对应LR(1)文法的下推自动机的构造 (3)LR(1)文法的下推自动机到相应分析表的构造 (4)LR(1)总控程序的构造(查表程序) (5)符号表的构建与相应管理程序 (6)语义动作程序的加入 环境:Visual Studio.NET 2003-Parser lex and yacc lexical analyzer C language 1.Lex (1) Lex lose into the analytical document (2) Analysis of the formal expression (3) a formal expression of the NFA conversion algorithm (4 ) more than the combined NFA (5) NFA and the determination of the smallest algorithm (6) to return to state and the return of the contents 2.Yacc counterparts (1) Yacc the analytical input file (2) context-free grammar to the corresponding LR (1) grammar pushdown automata Construction (3) LR (1) grammar pushdown automata corresponding to the tectonic analysis table (4) L R (1) General procedures for the control structure (look-up table) (5) Construction of the symbol table with the corresponding management procedures (6) semantic action procedures to the environment : Visual Studio 2003
Platform: | Size: 41490 | Author: 尤冉 | Hits:

[ELanguageWordAnalysis2

Description: 用c++语言编写的词法分析器源代码,很适合做课程设计。-c language used in the preparation of a lexical analyzer source code, is suitable for curriculum design.
Platform: | Size: 29932 | Author: 张智伟 | Hits:

[Otherbyyl_cffxq

Description: 编译原理:词法分析器(C++实现) 将PASCAL的源程序,即相应字符流转换成内部表示,并对标识符填写相应的符号表供编译程序以后各阶段使用,输出的单词符号格式为二元组(单词种别,单词在标识符表中的地址),标识符表格式有“序号”和“标识符本身的值”两项。-compiler : lexical analyzer (C achieved) will PASCAL source, that is, replaced by the corresponding characters in the internal circulation, also fill in the corresponding identifier of the symbol table compiler for the subsequent stages, Word output format for binary symbols (words of other species, the identifier word in the address table) Table format identifier "serial number" and the "value of the identifier" 2.
Platform: | Size: 10643 | Author: Snake | Hits:

[ELanguageSCANNER..CIFA

Description: c语言编写的词法分析器 可以用于PASCAL语言-c language prepared by the lexical analyzer can be used for language PASCAL
Platform: | Size: 3646 | Author: 李雪莹 | Hits:

[ELanguageCIFAFENXI

Description: C语言 词法分析器。 (1) 可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号. (2) 可以识别并读取源程序中的注释. (3) 可以统计源程序中的语句行数、单词个数和字符个数,其中标点和空格不计算为单词,输出统计结果. (4) 检查源程序中存在的非法字符错误,并可以报告错误所在的行列位置. (5) 发现源程序中存在错误后,进行适当的恢复,使词法分析可以继续进行,通过一次词法分析处理, 可以检查并报告源程序中存在的所有词法拼写错误.-C language lexical analyzer. (1) can be identified with the C source program written in symbols for each word, and to mark each word in the form of output symbols. (2) to identify and read the comments in the source program. (3) can be statistical source of the statement line number, word number and the number of characters, including punctuation and spaces are not counted as words, the output results. (4) Check the source in the presence of illegal character errors, and the ranks of the errors can be reported position. (5) found that there is an error source, the proper recovery, so that lexical analysis can proceed, through a lexical analysis and processing, you can check and report on all of the lexical source spelling errors.
Platform: | Size: 2048 | Author: lili | Hits:

[ELanguagewords_analysis

Description: 编译原理课程,词法分析程序,使用c语言实现,对于学习编译原理有帮组-Compiler theory course, lexical analyzer, using c language, compiler theory for the study group there to help
Platform: | Size: 1024 | Author: saga | Hits:

[ELanguageLexical-Analyzer-Parser-compiler

Description: Parses forwards and backwards. -Scans forwards and backwards. -Get the delimiter that was found. -Get the offset at where the token was started. -Get the current offset of the parser. -Add any number of delimiters. -Support for delimiter lists. Instead of removing all delimiters and adding one by one, just set the delimiter list. Can be used for easier parsing out of comments. -Unicode/Ansi Support Included is also 5 tests showing all the functions in action. Sample text is mostly a snippet of C++ source code except for one test. Shows the ease of use for parsing with support multiple delimiters.
Platform: | Size: 51200 | Author: majid | Hits:

[Windows Developlexical

Description: 用C++写的此法分析器环境为DEVC++,该词法分析器输入一个文件对其输出三个文件有标识符,关键字,整形常量-Written using C++ parser environment for this method DEVC++, the lexical analyzer input a file with an identifier of its output three files, keywords, shaping constant
Platform: | Size: 5120 | Author: zhangzhe | Hits:

[ELanguageNBuilder-Lexical

Description: 用MFC实现的C语言词法分析器,是学习编译原理的不错的参考资料,本程序用VS2010编写,此词法分析程序可分析出C语言中: 标识符(以字母或下划线开头,后面可以是数字字母或下划线) 字符串常量 字符常量 整数常量 普通实型 有+/-科学记数 无+/-科学记数 注释说明,还不能处理预处理命令33种运算符说明:,() [] .在界符中有,这里出 , ? : sizeof 也没给出11种分界符32种关键字程序使用转换表设计,运行速度快,本人还对每个能识别的符号进行了编号。本程序用VS2010 MFC 设计的,欢迎大家下载分享-A C language lexical analyzer, is a good learning compiler theory of reference, write the program with VS2010, the lexical analysis process can be analyzed in C: Identifier (a letter or underscore, followed can be alphanumeric or an underscore) String constants Character constants Integer constant General Real With+ /- scientific notation No+ /- scientific notation Notes, can not handle pre-order 33 kinds of operators Description:, () [] operator in the world, where a,?: Sizeof did not give 11 kinds of procedure delimiter 32 kinds of keyword use the conversion table design , run fast, I also can identify the symbols for each numbered. This program designed with the VS2010 MFC, welcome to download share. . . .
Platform: | Size: 21183488 | Author: 杨兵 | Hits:

[ELanguageLFTC_Parser

Description: Lexical Analyzer in C for Pascal
Platform: | Size: 111616 | Author: balena | Hits:

[ELanguage词法分析

Description: 词法分析(英语:lexical analysis)是计算机科学中将字符序列转换为单词(Token)序列的过程。进行词法分析的程序或者函数叫作词法分析器(Lexical analyzer,简称Lexer),也叫扫描器(Scanner)。(Lexical analysis is the process of converting character sequence into token sequence in computer science. The program or function for lexical analysis is called lexer or scanner.)
Platform: | Size: 1024 | Author: ffffffx | Hits:
« 1 2 34 5 6 »

CodeBus www.codebus.net